package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MarketKeyword implements Serializable {

    /**
     * id : 1
     * keyword : 母亲节
     * url : 192.168.2.100:8080
     * isHot : true
     * isDefault : true
     * sortOrder : 100
     * addTime : 2018-02-01 00:00:00
     * updateTime : 2021-10-02 13:48:23
     * deleted : false
     */

    Integer id;
    String keyword;
    String url;
    boolean isHot;
    boolean isDefault;
    Integer sortOrder;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date updateTime;
    boolean deleted;

}
